'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	
	const res_clinic = await db.collection('rx-clinic').where({ _id: db.command.in(event.clinicIdList), delete: 0 }).get()
	
	//返回数据给客户端
	return { data: res_clinic, code: 200, msg: 'ok.' }
};
